package com.zscat.cms.service;

import com.zscat.cms.model.CmsSubject;
import com.zscat.cms.model.CmsSubjectExample;

import java.util.List;

/**
 * 商品专题Service
 * Created by zscat on 2018/6/1.
 */
public interface CmsSubjectService {
    /**
     * 查询所有专题
     */
    List<CmsSubject> listAll();

    /**
     * 分页查询专题
     */
    List<CmsSubject> list(String keyword, Integer pageNum, Integer pageSize);

    CmsSubject selectByPrimaryKey(Long id);

    List<CmsSubject> selectByExample(CmsSubjectExample example);
}
